package com.sskj.mine.asset.data;

import com.sskj.lib.util.CoinUtil;

public class AssetBean {


    /**
     * id : 14
     * uid : 10
     * pid : 1
     * type : 3
     * usable : 9999995.466173
     * frost : 14.262700
     * czprice : 0.000000
     * txprice : 0.000000
     * lock_num : 0.000000
     * is_ti : 1
     * created_at : 2019-07-16 16:17:41
     * updated_at : 2019-07-17 13:59:00
     */

    private int id;
    private int uid;
    private int pid;
    private int type;
    private String usable;
    private String frost;
    private String czprice;
    private String txprice;
    private String lock_num;
    private int is_ti;
    private String created_at;
    private String updated_at;
    private String wallet_code;

    public String getWallet_code() {
        return wallet_code;
    }

    public void setWallet_code(String wallet_code) {
        this.wallet_code = wallet_code;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getUsable() {
        return CoinUtil.keepCoinNumMax(wallet_code, usable);
    }

    public void setUsable(String usable) {
        this.usable = usable;
    }

    public String getFrost() {
        return CoinUtil.keepCoinNumMax(wallet_code, frost);
    }

    public void setFrost(String frost) {
        this.frost = frost;
    }

    public String getCzprice() {
        return czprice;
    }

    public void setCzprice(String czprice) {
        this.czprice = czprice;
    }

    public String getTxprice() {
        return txprice;
    }

    public void setTxprice(String txprice) {
        this.txprice = txprice;
    }

    public String getLock_num() {
        return lock_num;
    }

    public void setLock_num(String lock_num) {
        this.lock_num = lock_num;
    }

    public int getIs_ti() {
        return is_ti;
    }

    public void setIs_ti(int is_ti) {
        this.is_ti = is_ti;
    }

    public String getCreated_at() {
        return created_at;
    }

    public void setCreated_at(String created_at) {
        this.created_at = created_at;
    }

    public String getUpdated_at() {
        return updated_at;
    }

    public void setUpdated_at(String updated_at) {
        this.updated_at = updated_at;
    }
}
